/**
 * Created with JetBrains WebStorm.
 * User: Administrator
 * Date: 13-5-28
 * Time: 下午4:09
 * To change this template use File | Settings | File Templates.
 */
var NativeApp = require("../phonegap/native-bridge.js");
exports.addActionStat=function(action,a1,a2,a3,ignoreHistory){   //Action统计参数输入接口
    if((!ignoreHistory && document.jumpStat) || !action)
        return;
    var res = action;
    if(!a1)a1 = "";
    if(!a2)a2 = "";
    if(!a3)a3 = "";
    res += "`"+a1+"`"+a2+"`"+a3;
    NativeApp.addStat(res);
}